<?php
/**
 * Note theme for Typecho
 *
 * @package Typecho Note Theme
 * @author Typecho Team
 * @version 1.2
 * @link http://typecho.org
 */

if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?><section class="left" style="background-image: url('<?php echo $this->options->ZWingYan_IndexBackgroundImage ? $this->options->ZWingYan_IndexBackgroundImage : 'https://gd-hbimg.huaban.com/dd0462aa9eddb8233e2d2301384a434b17c8394d3dcd9-1hnkUD_fw658webp' ?>');"></section><div class="sidebar"><div class="index_box"><div class="index_txt"><img src="<?php echo $this->options->ZWingYan_Index_user_avatar ? $this->options->ZWingYan_Index_user_avatar : 'https://q.qlogo.cn/g?b=qq&nk=160860446&s=100' ?>"><h1><?php $this->author(); ?></h1><p><?php $this->options->description() ?></p><div class="zuobiao"><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-geo-alt" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M12.166 8.94C12.696 7.867 13 6.862 13 6A5 5 0 0 0 3 6c0 .862.305 1.867.834 2.94.524 1.062 1.234 2.12 1.96 3.07A31.481 31.481 0 0 0 8 14.58l.208-.22a31.493 31.493 0 0 0 1.998-2.35c.726-.95 1.436-2.008 1.96-3.07zM8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10z"></path><path fill-rule="evenodd" d="M8 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"></path></svg><?php echo $this->options->ZWingYan_wz ? $this->options->ZWingYan_wz : '福建' ?> · 中国
			</div><div class="menu-%e8%8f%9c%e5%8d%951-container"><ul id="menu-%e8%8f%9c%e5%8d%951" class="index_nav"><li class="menu-item menu-item-type-custom menu-item-object-custom"><a<?php if($this->is('index')): ?> class="current"
							<?php endif; ?> href="
							<?php $this->options->siteUrl(); ?>"><?php _e('首页'); ?></a></li><?php $this->widget('Widget_Contents_Page_List')->to($pages); ?><?php while($pages->next()): ?><li class="menu-item menu-item-type-custom menu-item-object-custom"><a<?php if($this->is('page', $pages->slug)): ?> class="current"
							<?php endif; ?> href="
							<?php $pages->permalink(); ?>" title="
							<?php $pages->title(); ?>"><?php $pages->title(); ?></a></li><?php endwhile; ?></nav></ul></div></div></div></div><section class="right"><div class="nav_ico"><svg class="ham hamRotate ham1" viewBox="0 0 100 100" onclick="this.classList.toggle('active')"><path class="line top" d="m 30,33 h 40 c 0,0 9.044436,-0.654587 9.044436,-8.508902 0,-7.854315 -8.024349,-11.958003 -14.89975,-10.85914 -6.875401,1.098863 -13.637059,4.171617 -13.637059,16.368042 v 40"></path><path class="line middle" d="m 30,50 h 40"></path><path class="line bottom" d="m 30,67 h 40 c 12.796276,0 15.357889,-11.717785 15.357889,-26.851538 0,-15.133752 -4.786586,-27.274118 -16.667516,-27.274118 -11.88093,0 -18.499247,6.994427 -18.435284,17.125656 l 0.252538,40"></path></svg></div><div class="right_box"><div class="single_info_box"><h1 class="single_title"><?php $this->options->title(); ?></h1><div class="single_info cat_info"><p><?php echo $this->options->ZWingYan_dose ? $this->options->ZWingYan_dose : '感觉自己读书就是在浪费钱，所以既然不能读万卷书那就行万里路了。' ?></p></div></div><div class="posts-loop"><?php while ($this->next()): ?><?php if($this->fields->article_type == "1") { ?><article class="single_loop single_big post"><a class="single_loop_pic" rel="nofollow" href="<?php $this->permalink() ?>" title=""><img src="<?php showThumbnail($this,0); ?>" alt="<?php $this->title() ?>"><div class="single_loop_info"><h2><?php $this->title() ?></h2><div class="single_info"><span><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-clock-history" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022l-.074.997zm2.004.45a7.003 7.003 0 0 0-.985-.299l.219-.976c.383.086.76.2 1.126.342l-.36.933zm1.37.71a7.01 7.01 0 0 0-.439-.27l.493-.87a8.025 8.025 0 0 1 .979.654l-.615.789a6.996 6.996 0 0 0-.418-.302zm1.834 1.79a6.99 6.99 0 0 0-.653-.796l.724-.69c.27.285.52.59.747.91l-.818.576zm.744 1.352a7.08 7.08 0 0 0-.214-.468l.893-.45a7.976 7.976 0 0 1 .45 1.088l-.95.313a7.023 7.023 0 0 0-.179-.483zm.53 2.507a6.991 6.991 0 0 0-.1-1.025l.985-.17c.067.386.106.778.116 1.17l-1 .025zm-.131 1.538c.033-.17.06-.339.081-.51l.993.123a7.957 7.957 0 0 1-.23 1.155l-.964-.267c.046-.165.086-.332.12-.501zm-.952 2.379c.184-.29.346-.594.486-.908l.914.405c-.16.36-.345.706-.555 1.038l-.845-.535zm-.964 1.205c.122-.122.239-.248.35-.378l.758.653a8.073 8.073 0 0 1-.401.432l-.707-.707z"></path><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0v1z"></path><path fill-rule="evenodd" d="M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5z"></path></svg><time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php echo feature::formatTime($this->created); ?></time></span><span><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-layers" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3.188 8L.264 9.559a.5.5 0 0 0 0 .882l7.5 4a.5.5 0 0 0 .47 0l7.5-4a.5.5 0 0 0 0-.882L12.813 8l-1.063.567L14.438 10 8 13.433 1.562 10 4.25 8.567 3.187 8z"></path><path fill-rule="evenodd" d="M7.765 1.559a.5.5 0 0 1 .47 0l7.5 4a.5.5 0 0 1 0 .882l-7.5 4a.5.5 0 0 1-.47 0l-7.5-4a.5.5 0 0 1 0-.882l7.5-4zM1.563 6L8 9.433 14.438 6 8 2.567 1.562 6z"></path></svg><?php get_post_view($this) ?></span></div><p class="single_loop_txt"><?php echo feature::excerpt($this->content,180); ?></p></div></a></article><?php } else {?><article class="single_loop single_def post"><a class="single_loop_pic" rel="nofollow" href="<?php $this->permalink() ?>" title=""><img src="<?php showThumbnail($this,0); ?>" alt="<?php $this->title() ?>"></a><div class="single_loop_info"><h2><a class="" href="<?php $this->permalink() ?>" title=""><?php $this->title() ?></a></h2><div class="single_info"><span><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-clock-history" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022l-.074.997zm2.004.45a7.003 7.003 0 0 0-.985-.299l.219-.976c.383.086.76.2 1.126.342l-.36.933zm1.37.71a7.01 7.01 0 0 0-.439-.27l.493-.87a8.025 8.025 0 0 1 .979.654l-.615.789a6.996 6.996 0 0 0-.418-.302zm1.834 1.79a6.99 6.99 0 0 0-.653-.796l.724-.69c.27.285.52.59.747.91l-.818.576zm.744 1.352a7.08 7.08 0 0 0-.214-.468l.893-.45a7.976 7.976 0 0 1 .45 1.088l-.95.313a7.023 7.023 0 0 0-.179-.483zm.53 2.507a6.991 6.991 0 0 0-.1-1.025l.985-.17c.067.386.106.778.116 1.17l-1 .025zm-.131 1.538c.033-.17.06-.339.081-.51l.993.123a7.957 7.957 0 0 1-.23 1.155l-.964-.267c.046-.165.086-.332.12-.501zm-.952 2.379c.184-.29.346-.594.486-.908l.914.405c-.16.36-.345.706-.555 1.038l-.845-.535zm-.964 1.205c.122-.122.239-.248.35-.378l.758.653a8.073 8.073 0 0 1-.401.432l-.707-.707z"></path><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0v1z"></path><path fill-rule="evenodd" d="M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5z"></path></svg><time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php echo feature::formatTime($this->created); ?></time></span><span><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-justify-left" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"></path></svg><a
							   itemprop="name" href="<?php $this->author->permalink(); ?>"
							   rel="author"><?php $this->author(); ?></a></span><span><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-layers" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3.188 8L.264 9.559a.5.5 0 0 0 0 .882l7.5 4a.5.5 0 0 0 .47 0l7.5-4a.5.5 0 0 0 0-.882L12.813 8l-1.063.567L14.438 10 8 13.433 1.562 10 4.25 8.567 3.187 8z"></path><path fill-rule="evenodd" d="M7.765 1.559a.5.5 0 0 1 .47 0l7.5 4a.5.5 0 0 1 0 .882l-7.5 4a.5.5 0 0 1-.47 0l-7.5-4a.5.5 0 0 1 0-.882l7.5-4zM1.563 6L8 9.433 14.438 6 8 2.567 1.562 6z"></path></svg><?php get_post_view($this) ?></span></div><div class="single_loop_txt"><?php echo feature::excerpt($this->content,180); ?></div></div></article><?php }?><?php endwhile; ?></div><div class="post-read-more"><?php $this->pageLink('点击查看更多','next'); ?></div></div><?php $this->need('footer.php'); ?>